{% extends 'xzb/base.html' %}

{% block title %}
    模版继承页面的标题
{% endblock %}

{% block top %}

<header>
		<div class="lf">
			<a class="home" href="{% url 'xzbindex' %}">系统首页</a>
			<!-- <a href="bbs.html">论坛</a> -->
			<a href="{% url 'xzbupload' %}">上传资源</a>
		</div>
		<div id="search">
			<input type="text" name="name"
				placeholder="请输入要搜索的资源" autocomplete="off"/>
			<a class="btn search">搜索</a>
		</div>

		<div class="rf">
			session:{{ request.session.user_name }}
			{% if request.COOKIES.username %}
			<a>欢迎 {{ request.COOKIES.username }}</a>
			{% else %}
			<a href="{% url 'xzblogin' %}">登录/注册</a>
			{% endif %}
			<a class="info" href="{% url 'xzbpersonal' %}">个人中心</a>
			<a class="cols" href="{% url 'xzbshoucang' %}">收藏</a>
			<a class="exit" href="{% url 'xzblogout' %}">退出登录</a>
			<a class="active" href="">中文</a>
			<a href="">Eng</a>
		</div>
	</header>
{% endblock %}

{% block swipter %}
<!-- 轮播图 -->
		<div class="swiper">
			<img src="/static/images/20230526045310.png" alt="">
			<img src="/static/images/20230505033923.png" alt="">
			<img src="/static/images/20230316042846.jpg" alt="">
			<div class="dot">
				<span class="active"></span>
				<span></span>
				<span></span>
			</div>
			<a class="left"></a>
			<a class="right"></a>
		</div>
{% endblock %}

{% block main %}
	<br><br><br><br><br><br><br><br><br>
{% endblock %}
{% block bottom %}
<footer>
		<p class="decro">本站所有资源信息均由网友上传,本站只是为了推广资源让更多读者下载,使用。如涉侵权，请联系管理员</p>
		<p class="cr">Copyright © 2021-2025 <span class="site">爱下载资源分享平台</span> All Rights Reserved.</p>
		<p class="num">沪ICP备14048333号</p>
	</footer>
{% endblock %}